package cn.iocoder.yudao.module.question.controller.admin.questionitem.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 试题选项信息 Excel 导出 Request VO，参数和 QuestionItemPageReqVO 是一致的")
@Data
@Builder
public class QuestionItemExportReqVO {

    @Schema(description = "试题id", example = "6932")
    private Long questionId;

    @Schema(description = "试题类型", example = "2")
    private Long questionType;

    @Schema(description = "是否答案 1:是 0:否")
    private Boolean isAnswer;

    @Schema(description = "选项内容")
    private String itemContent;

    @Schema(description = "选项解析")
    private String itemAnalysis;

    @Schema(description = "选项图片")
    private String itemImg;

    @Schema(description = "严格按序作答")
    private Boolean itemOrder;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
